// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Vuex from 'vuex'
import router from './router'
import faskclick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import ElementUI from 'element-ui'
import VueIconFont from 'vue-icon-font'
import md5 from 'js-md5'
import 'swiper/dist/css/swiper.css'
import './assets/styles/reset.css'
import './assets/styles/border.css'
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/javascript/iconfont.js'
import store from './utils/store.js'
import axios from 'axios'
import qs from 'qs'
Vue.use(Vuex)
Vue.prototype.$md5 = md5
Vue.prototype.$store = store
Vue.prototype.$qs = qs
Vue.prototype.$axios = axios
Vue.prototype.$axios = axios.create({
  baseURL: 'http://zltc',
  // baseURL: 'https://www.58zltc.com',
  changeOrigin: true
})
Vue.config.productionTip = false
faskclick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.use(ElementUI, { size: 'small', zIndex: 3000 })
Vue.use(VueIconFont)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
